function receiveData(data) {
  this.value.uid = data.id;
  this.value.username = data.username;
}

function updateEdit() {

  console.log("this.visible", this.visible);

  this.visible = false;
}

function selectUser() {
  this.visible = true;

  this.$refs.userReference.getUserList();
}

function input(imageUrl) {
  console.log('imageUrl', imageUrl)
  this.value.pictures = imageUrl;
}

function fileReceive(file) {
  this.value.file = file;
  console.log('file', file)
}

function inputVideo(videoUrl) {
  console.log('videoUrl', videoUrl)
  this.value.videoUrl = videoUrl;
}

export {
  fileReceive,
  receiveData,
  inputVideo,
  updateEdit,
  selectUser,
  input
}